Skip to content

CSSTUDIO-3661 Bugfix: Take into account Range.isReversed() when computing the alarm limits for the tooltip of a widget#3709

Merged
abrahamwolk merged 1 commit intomasterfrom
CSSTUDIO-3661
Mar 2, 2026
Merged

CSSTUDIO-3661 Bugfix: Take into account Range.isReversed() when computing the alarm limits for the tooltip of a widget#3709
abrahamwolk merged 1 commit intomasterfrom
CSSTUDIO-3661

Conversation

@abrahamwolk
Copy link
Collaborator

@abrahamwolk abrahamwolk commented Feb 25, 2026

An instance of Range may be reversed such that,e.g., in the case of alarm limits, LOW is Range.getMaximum() and HIGH is Range.getMinimum() instead of the other way around.

This pull request fixes the code that generates the tooltip to consider Range.isReversed() when computing the alarm limits shown in the tooltip.

I have tested the change manually.

  • Testing:

    • The feature has automated tests
    • Tests were run
    • If not, explain how you tested your changes
  • Documentation:

    • The feature is documented
    • The documentation is up to date
    • Release notes:
      • Added an entry if the change is breaking or significant
      • Added an entry when adding a new feature

…ting the alarm limits for the tooltip of a widget.
@sonarqubecloud
Copy link

@abrahamwolk abrahamwolk merged commit 9d79e3e into master Mar 2, 2026
5 checks passed
@abrahamwolk abrahamwolk deleted the CSSTUDIO-3661 branch March 2, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants